package com.xiaomaoguai.groovy

/**
 *
 * @fileName: ReadFile.java
 * @author: WeiHui.Zhang
 * @date: 2016-11-16  16:35    
 * @version: v1.0.0
 */
class ReadFile {

    public static void main(String[] args) {
        new File('D:/data.csv').eachLine('GBK') {
            println it
        }
    }
}